package com.bdqn.exception;

import org.springframework.web.bind.annotation.ControllerAdvice;

@ControllerAdvice
public class GlobalExceptionHandler {
//    @ExceptionHandler(UnauthorizedException.class)
//    public ModelAndView unauthorizedException(HttpServletRequest request, UnauthorizedException e) {
//        ModelAndView mv = new ModelAndView("403");
//        mv.addObject("exception", e);
//        mv.addObject("url", request.getRequestURL());
//        return mv;
//    }
}
